package com.future.hedongjun.mine.adapter;

import android.support.annotation.Nullable;
import android.widget.EditText;
import android.widget.ImageView;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.future.baselib.utils.GlideUtils;
import com.future.hedongjun.R;
import com.future.hedongjun.mall.bean.OrderDetail;

import java.util.List;

/**
 * @author jniu
 * @Email niuxiaoqi@hztianque.com
 * @time 2018/11/27
 */
public class OrderEvaluateAdapter extends BaseQuickAdapter<OrderDetail.GoodsBean, BaseViewHolder> {

    public OrderEvaluateAdapter(@Nullable List<OrderDetail.GoodsBean> data) {
        super(R.layout.recycler_item_order_evaluate, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, OrderDetail.GoodsBean item) {
        GlideUtils.loadImage(mContext, "logo_img", (ImageView) helper.getView(R.id.imageView));
        helper.setText(R.id.tv_name, "商品名称");
        helper.setText(R.id.tv_tib, "商品属性们");
    }
}
